<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <script src="jquery.js" type="text/javascript"></script>
    <script type="text/javascript">
        $(document).ready(function () {
            var a = new Date();
            var a = a.getFullYear()+ "-"+(a.getMonth()+1)+"-"+a.getDate()+" "+a.getHours()+":"+a.getMinutes(); 
            $("#today-p1").text("使用前请务必校对准设备时间").css("color", "red");
            $("#today-p2").text("仅  " + a + "  当日有效").css("color", "red");

            jiami1();
            jiami2();

        });

        function jiami1() {
            var mydate = new Date();
            var s = mydate.getHours();
            $("#time1").text("有效期： " + s + "时----" + (s + 1) + "时");
        
        }
        function jiami2() {



        }
    </script>


    <title></title>

</head>
<body>
<div id="today" >
<p id="today-p1"></p>
<p id="today-p2"><font color="red"></font></p>
</div>
<div id="time1" ></div>
<div id ="pw1">密码1</div>
<br />
<br />
<div id="time2" ></div>
<div id ="pw2">密码2</div>
</body>
</html>